add tests for BasePoller
full test coverage for supervisord.py