hence you failed some tests: 

Test 1 FAILED: 
Input DNA: ATGCATGAATGTAGATAGATGTGCCC
Expected Output: ['MHECR', 'MC', 'MNVDRCA']
Actual (your) Output: ['MHECR', 'MC', 'MNVDRCA', 'M', 'MH']
Test 2 FAILED: 
Input DNA: GCATGCATGGGTTATATCATGAAATAG
Expected Output: ['MHGLYHEI', 'MGYIMK', 'MI', 'MH']
Actual (your) Output: ['MI', 'MH', 'M']
Test 3 FAILED: 
Input DNA: CTACTAATGGCCCATAAACATC
Expected Output: []
Actual (your) Output: ['MAHKH', 'MFMGH']
FAILED - find the AA sequences in a gene based on the ORFs