added more broker unittests