Add epoll supports for test. Use edge-triggered epoll and no thread

Add epoll supports for test. Use edge-triggered epoll and no threads will be alerted the same fd at the same time.