Added clean up calls to the tests.  The clean up gaurantees that on a fresh clone where target/t[1-10] directory don't previously exist, then the test should continue to work.