added tests case for poll testing