pub(crate) fn setup_test_directory(test_source_dir: PathBuf) -> PathBuf