Hearts beat Metro Stars in pre-season friendly