Add a testing exception class.