Test exceptions when failure expected

If a test is expected to fail but throws an exception instead, that's
considered a failing test.  Not failure which makes the test pass.