Fix in the unit tests. Test the speed computation.