fake the config for test