remove config from lib and tests