UT for exception