poll tests: Make test more robust. * tests/test-poll.c: Include macros.h. (test_accept_first, test_pair, test_socket_pair, test_pipe): Verify return value of various I/O operations. * modules/poll-tests (Files): Add tests/macros.h.