ticket 239 Create test for Exception class