added broker tests