pub fn test_dir(pathname: &str) -> (PathBuf, Option<TempDir>)
If FM_TEST_DIR is set, use it as a base, otherwise use a tempdir
FM_TEST_DIR
Callers must hold onto the tempdir until it is no longer needed