Add class to test exceptions