added test case, .gitignore