Fix for functional tests (create new search index for each test).