Add some tests with herited exception classes and throwing a base class.

Change-Id: Ibd2aa4100fa103c150dcdcbc31ea7336a83de6c7
Merge pull request #80 from awong-dev/inheritedexception

Add some tests with herited exception classes and throwing a base class.