#187 Tests for dynamic registration and deregistration of listeners.