Order END hooks for cleanup

END hooks for test file cleanup must happen after Log4perl closes files, so it must be configured first.
Merge pull request #45 from MidLifeXis/cleanup_tmp_file

Order END hooks for cleanup