Added a test for poll_fd