Fix uncaught exceptions when testing
Fix uncaught exceptions when testing

jonathanihm/freeCodeCamp,otavioarc/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,otavioarc/freeCodeCamp,HKuz/FreeCodeCamp,raisedadead/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,FreeCodeCamp/FreeCodeCamp,HKuz/FreeCodeCamp,pahosler/freecodecamp,pahosler/freecodecamp,raisedadead/FreeCodeCamp,jonathanihm/freeCodeCamp,BhaveshSGupta/FreeCodeCamp,BhaveshSGupta/FreeCodeCamp