Adds tests for the decelerate() method
Implements the toString() method and the decelerate() method