included test for searching
Merge pull request #768 from a-chumagin/master

included test for searching