Added tests for broker.Subscriber