add tests for Exceptions