- updated unittest to properly detect poller.unregister's (adapted) call