update tests, match esprima style