Added search function mocks