externalize config for implementation used in tests