Add gitignore and test script to the repo.