Fixed unit test for Poll action of MessageController.