             } catch {
                 XCTFail("persistentTokenWithIdentifier(_:) failed with error: \(error)")
             }
-        } catch {
-            XCTFail("addToken(_:) failed with error: \(error)")
-        }
     }
 
     func testDuplicateTokens() {

            XCTFail("allPersistentTokens() failed with error: \(error)")
        }

        do {
            let persistentToken1 = try keychain.addToken(token1)
            let persistentToken2 = try keychain.addToken(token2)
            let persistentToken3 = try keychain.addToken(token3)

            do {
                let allTokens = try keychain.allPersistentTokens()

            } catch {
                // An error thrown is the expected outcome
            }
    }

    func testAllPersistentTokens() {
