Add 2.2.6 tests and allow onResolve and onReject to throw exceptions