Updated gitignore
Added tests