Update esprima dependency and fix tests.