Improve test coverage
Add test for set_child_watcher
Add test for default loop in pubsub