polling handler tests