Added test for opts.shouldPoll