updated the objects exercises to pass the mocha tests