how to test GUI?