rename endpoint var in config pipeline, add config.json to test dir