added tests for preferred/worst vendor