EntitiesSearchController, spec refactor.