Removed the test_exception class from the library code