cleaned up test file creation/deletion so test run on centOS