 	}
 	
 	func testTypedPromiseRoute() {
-		let expect1 = expectation(description: "wait1")
-		let expect2 = expectation(description: "wait2")
+		var expect = expectation(description: "wait1")
 		struct Body: Codable {
 			let msg: String
 		}

			DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
				promise.fail(HTTPResponseError(status: .badRequest, description: "Hi"))
				DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
					expect2.fulfill()
				}
			}
		}

			DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
				promise.set(HTTPResponseContent(body: Body(msg: "Hi")))
				DispatchQueue.global().asyncAfter(deadline: .now() + 1) {
					expect.fulfill()
				}
			}
		}
