Set whoosh as HAYSTACK_SEARCH_ENGINE for testing.