Add integration tests to test chained exceptions