Mocking a heart rate monitor for iOS8's Health Kit.