fix search api dehydrate test