Refactoring the mock config data