Add code to pass test for CarsStats class