Why this line? what if there is only 1 ORF strand in the dna ? No max then ?

You failed some tests only because of this. 

This is all that was needed

       return max(find_all_ORFs_both_strands(dna), key=len)