Fix tests for poller task queue