adds car.decelerate method and fixes test