pub fn locate_upstream_tests_dir() -> Result<PathBuf>
Resolves the filesystem path to the upstream magic tests directory.