add .gitignore and fix runTests.sh