test_search.py: add word_portions query

Petr mentioned that it is a surprise that
searching on words parts is not possible.
The only way to do this would be to store
n-grams. Other options are shown here.