test for valid ksdevice name