Added test for search doc regen