Mock search instead of data_bag_item in test.