Add unit test for DeviceNotFoundException
Add unit test for DeviceId