Complete test cases for enumerate() and enumerateDeep().