Fix new-style class issues and tests

* changed classes to they subclass object and are now new-style classes
* fixed tests to be more succinct using raises_ which checks for the
  correct exception
* fixed tests which were incorrectly checking the exception msg
Merge pull request #15 from willkg/fixes

Fix new-style class issues and tests