Implemented smoketest() method for ElasticSearch backend. Refs #941.