test cases for GUI