[REST-SPEC] update to update test, to check for es-js error messages