Modified elasticsearch by adding categories and nodes. #6492

* Refactored tests to properly clear elastic server resources.
* Added a circleCI yml.
* Boosted name and code fields.
* Refactored tests - index is deleted at end of every test.