modified test_gui2.py