         do {
             let device = try MockDevice()
             let response = try device.perform(request: request)
+            
+            print(device.request)
             
             XCTAssertEqual(response.type, U2FRegisterRequest.ResponseType)
             XCTAssertEqual(response.requestId, request.requestId)

let testClientData = "eyAiY2hhbGxlbmdlIjogIkVlZlJrWGc2UTZIaEdwVTI4U1NCYmpVX0FsNmV6VDV6V1dvNmd3R0prQVkiLCAib3JpZ2luIjogImh0dHA6XC9cL3Rlc3Qub3JpZ2luIiwgInR5cCI6ICJuYXZpZ2F0b3IuaWQuZmluaXNoRW5yb2xsbWVudCIgfQ"
let testRegisterResponse = "{ \"registrationData\": \"\(testRegistrationData)\", \"clientData\": \"\(testClientData)\" }"

class MockDevice : U2FDevice {
    override func register_(jsonRequest: String, origin: String) throws -> String {
        return testRegisterResponse
    }
}

        do {
            let device = try U2FDevice()
            let response = try device.perform(request: request)

//            print(device.request)

            XCTAssertEqual(response.type, U2FRegisterRequest.ResponseType)
            XCTAssertEqual(response.requestId, request.requestId)
            
