added name attr to car and some tests