test cases for exception,jxml and facts/personality
unit test cases for facts/ifd_style.py
unit test cases for facts/switch_style.py
Merge pull request #155 from vnitinv/unit-tests

Unit tests
Added unit attr

Added the unit attr to support flagged test runs.
Also cleaned up some PEP8