added test to ensure the .gitignore syntax works as expected