Add test shell script and .gitignore