added throw exception to UnitTester