Add a few tests on search.

Search on text works despite that we use a tokenizer that produces a single token.