adds unittest assertRaises

less code to check for an assertion test
changes module import syntax and assertRaises

the import statements now conform to the other test
by importing from xmltodict

uses assertRaises to test for exception handling
fixes whitespace style
Merge pull request #33 from bgilb/master

Simplify Exception checks in unit tests with assertRaises.