ExceptionManager test cases were added. Adjustments to ExceptionManager based on tests.