test: Fix phrase-search tests.