Creates test for Decelerate method
Implements decelerate method so test passes