wrote test cases for Device Class
Increased code coverage from 44% to 84%