Test environment stub for PkgResolve