Implement test for search

Change-Id: I888fcda20433734cee1da188d1df8a75ad0b3e7d