search unit test