added some test cases to gui