Added test coverage for ES store