fixed tests for 0 value for heartbeat