Removed unnecessary imports. Tiny refactoring to pull exception creation into static helper method. Made methods static in test cases where possible. Original pull request: #273.
Removed unnecessary imports. Tiny refactoring to pull exception creation into static helper method. Made methods static in test cases where possible. Original pull request: #273.