cleaned up broker tests slightly and added send_to_worker tests