Fixed up the tests
All tests preform properly now
All tests delete the files they generate afterwards now