Improve recipe for configuration mocking