Changed slightly test for search