Fix assertions in search test
Merge pull request #214 from emmanuel-keller/1.5

Fix assertions in search test