Added enumeration test to segment/vehicle. Only supports string now

Can add support for a passed enum type as well.