Ahmed-2203 Write test for search