     }
     
     func testExtractTokensFailsWhenNoIdToken() {
-        let data = """
-            {
-                "access_token":"\(VALID_ACCESS_TOKEN_PAYLOAD)",
-                "expires_in":3600
-            }
-            """.data(using: .utf8)
+        let data = "{\"access_token\":\"\(VALID_ACCESS_TOKEN_PAYLOAD)\",\"expires_in\":3600}".data(using: .utf8)
         let response = Response(responseData: data, httpResponse: nil, isRedirect: false)
         let tokenRespDelegate = ExtractTokensDelegate(res:"failure", expectedErr: "Failed to parse server response - no access or identity token")
         tokenManager.extractTokens(response: response, tokenResponseDelegate: tokenRespDelegate)

    }

    func testExtractTokensFailsWhenNoParsableIdToken() {
        let data = """
            {
                "access_token":"\(VALID_ACCESS_TOKEN_PAYLOAD)",
                "id_token":"nonparsable",
                "expires_in":3600
            }
            """.data(using: .utf8)
        let response = Response(responseData: data, httpResponse: nil, isRedirect: false)
        let tokenRespDelegate = ExtractTokensDelegate(res:"failure", expectedErr: "Failed to parse tokens")
        tokenManager.extractTokens(response: response, tokenResponseDelegate: tokenRespDelegate)

    }

    func testExtractTokensFailsWhenNoAccessToken() {
        let data = "{\"id_token\":\"\(VALID_ID_TOKEN_PAYLOAD)\",\"expires_in\":3600}".data(using: .utf8)
        let response = Response(responseData: data, httpResponse: nil, isRedirect: false)
        let tokenRespDelegate = ExtractTokensDelegate(res:"failure", expectedErr: "Failed to parse server response - no access or identity token")
        tokenManager.extractTokens(response: response, tokenResponseDelegate: tokenRespDelegate)
