Added .gitignore
Fixed unit tests.