add tests & gitignore file