func TestGetOSVolumeByName(t *testing.T) {
	var (
		d        *I3STest
		c        *i3s.I3SClient
		testName string
	)
	if os.Getenv("I3S_TEST_ACCEPTANCE") == "true" {
		d, c = getTestDriverA("test_os_volume")
		if c == nil {
			t.Fatalf("Failed to execute getTestDriver() ")
		}
		testName = d.Tc.GetTestData(d.Env, "Name").(string)

		testOSVolume, err := c.GetOSVolumeByName(testName)
		assert.NoError(t, err, "GetOSVolumeByName thew an error -> %s", err)
		assert.Equal(t, testName, testOSVolume.Name)

		testOSVolume, err = c.GetOSVolumeByName("bad")
		assert.NoError(t, err, "GetOSVolumeByName with fake name -> %s", err)
		assert.Equal(t, "", testOSVolume.Name)

	} else {
		d, c = getTestDriverU("test_os_volume")
		testName = d.Tc.GetTestData(d.Env, "Name").(string)
		data, err := c.GetOSVolumeByName(testName)
		assert.Error(t, err, fmt.Sprintf("ALL ok, no error, caught as expected: %s,%+v\n", err, data))
	}
}