initialize pollfd for the test