adding a test and .gitignore file