Testing of electric cars on a chassis dynamometer