Complete tests on exceptions