Test EC public numbers type error