Improve test coverage of the heartbeat storage interface