Added more tests before writing benchmarks. Made sure test.sh always attempts to delete the test output file.