GUIVisualTest: fixed errors but haven't added new tests for the new code