Updated PollerTest to pass