Fixed DeviceDB unit test