Add exception consistency tests.