Update .gitignore
Run clean before tests in run_tests.sh
Merge pull request #31 from louisrli/misc-fixes

Minor fixes to files