Issue89 search function test cases

Resolves #89.