test for #search
merge from master, fix merge conflict with search_test
Merge pull request #20 from ckampfe/search_tests

test for #search