a few unit tests
added .gitignore