Adding test to check if nullObject & undefinedObject function are defined