Updated tests and .gitignore