exceptions  : adding main exception class, and unit test class