Added config for testing and updated the broker test module to be more general.