add search unit test