Added tests for poller app