Add DeviceTypeTest
Add JavaDoc to DeviceType