Updated gitignore and added test file