using contexts for config_mock