Added tests
Use channels instead of handler-fn
Got pubsub working again
Use channel instead of client handler
idempotent in log