added tests for xPoll