Fixed crash when tests are run without WAGTAILSEARCH_BACKENDS setting set