Fixed tests
Fixed tests

Added check if the object isn't null and escaped quotes because text
enclosed apostrophe

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