test: refactor cleanPrEnv tests to use fixture mocks for improved isolation