Add exception test.

Add nested exception test.
Add my exception class test.