Fixing the test PollBlockTest. There is one bug left.