Added test case for Text/String autoconversion when indexing is inverted