add integrate unit test for poller.
add integrate unit test for poller.