build search unit test