                 // Let's transform it to a string
                 XCTAssertEqual(decryptedString, "martin")
             } else {
-                XCTFail("Error during base 64 encoding")
+                XCTFail("Error during NSData encoding")
             }
         } catch {
             XCTFail("\(error)")
         }
+
     }
 
     func testEncryptDataDecrypString() {

        if let data = string.dataUsingEncoding(Default.TEXT_ENCODING) {
            do {
                let encryptedData = try CryptoHelperTests._cryptoHelper.encryptData(data)
                let encryptedBase64Data = encryptedData.base64EncodedStringWithOptions(.EncodingEndLineWithCarriageReturn)
                let decryptedString = try CryptoHelperTests._cryptoHelper.decryptString(encryptedBase64Data)
                XCTAssertEqual(decryptedString, "martin")

            } catch {
                XCTFail("\(error)")

                // If we encrypt it
                let encryptedData = try CryptoHelperTests._cryptoHelper.encryptData(data)
                // we get an encrypted buffer
                // Commented by bpds > @md this assertion is irrelevant.
                //XCTAssertEqual(encryptedData.base64EncodedStringWithOptions(.EncodingEndLineWithCarriageReturn), "FacTvJN9YQVRqzW8mCuy4w==")
                // If we decrypt it
                let decryptedData = try CryptoHelperTests._cryptoHelper.decryptData(encryptedData)
                // we get back our original buffer
