Added more test cases for TestExists