heart beat measurement testing