testing abstract vehicle class