Added printing exceptions in ArithmeticTester