added test file and .gitignore