Test parse error cases in index parsing