Basic tests on DeviceController.