Added test for poller