Adding gitignore and test file