scan search unit test