implemented message producer heartbeat tests