added tests and .gitignore file