add test for search
Merge pull request #3 from superpan/master

add test for search