tests for backend_device_set