test cases for gui