add tests for es.