test for polling