I get failed for code that was passed previously. It's the second test in my list.
Can you please link to what you're talking about? If it's a student submission, we cannot see those. You'll have to post all of the code into a new repl and then post the link to your repl.