added test cases for Device and TemplateLoader Class
Increased code coverage from 70% to 95%
adding option -v to see details of test cases report
Merge pull request #130 from vnitinv/unit-tests

added test cases for Device and TemplateLoader Class