fix(test): Properly mock hwmgr for heartbeat test