Broker tests