Added tests for BrokerProxy and AuthenticationActivity.