included more tests to improve code coverage and refactored the mocking ...

...to Mock the ElasticSearch itself and not the es.Search class