Added two exception tests.