Update gitignore and add a test file