Check ES Database, refactor test for valid elastic search set up