added integration test to ensure PollResponse.getMessages() returns right message list