Fixed some silly errors, the test now works for the Gui