fix broken MockTransport constructor test