added send heartbeat test
added service internal call to tests, fixed non byte messages in broker service internal method