Testing insertion/searching of records in ES database