Fix flaky heartbeat test by ensuring time deadline is hit
Merge pull request #114 from embark/embark/fix_flaky_test

Fix flaky heartbeat test by ensuring time deadline is hit