added some tests for selectpoller