#cleanup after the test - this fails so far $dir->remove_files($log_file); $dir->remove_directories($log_dir); $dir->clean($log_dir);