Fixed error in new_fieldNameToIndexTest to deal with null search.