converted the last of the old mockbroker test