added test for dispatch method on broker
added tests for destroy, tweaked destroy method to handle dict of workers