Correct test and adapt text-index-config