search unit test fix