working on tests with temp files/directories, etc