Currently, we don't have test cases for the `elasticsearch` plugin, we should add test cases for the following files. - handlers functions - located in `handlers.go` - routes functions - located in `routes.go` - middleware functions - located in `middleware.go`