fixed tests after changing config initialized of ec