Fixed Tank decelerate test fail

Also added a check that prevents the tank from accelerating or
decelerating multiple times per tick (this could be possible if multiple
controllers called accelerate or decelerate on the tank in a single
tick)