Merge pull request #67 from Trott/search

add test, rm test warning
revise deprecated
use non-deprecated