add test codes for qga heartbeat