Hey @Jen_Y,
Welcome to the community. Mistakenly, you have deleted the code cell that contained the hidden tests for the aforementioned function. You need to get a fresh copy of your notebook and paste your solutions in it. Follow the instructions in this thread to do the same.
Cheers,
Elemento