Added .gitignore
Fix tests
Added tests