Clean up MessageBrokerConfigurationTests

 - clean up warnings
 - simplify ApplicationContext configuration