changed testUtils to have a field that can check that the gui got the messages
changed tests are passing
Fixed merge