updated gitignore and added test