silence logger in test. add pubsub tests for monitor. fix unit tests.