Did some work on the build and test infrastructure
Added shebang line to test executables