Fixed broadcastMessage test failure