#6 Test exceptions behavior

Cover basic exceptions scenario.