added a basic test for the broker client