Test using thread poll