         let peerID1 = Peer()
         do {
             let peerID2 = try Peer(uuidIdentifier: peerID1.uuid,
-                                         generation: peerID1.generation + 1)
+                                   generation: peerID1.generation + 1)
             XCTAssertNotEqual(peerID1, peerID2)
         } catch let error {
             XCTFail("unexpected error \(error)")

        XCTAssertEqual(parsingError, .IllegalPeerID)
    }

    func testInitWithStringHasNotNumberGeneration() {
        let string = "eqwer:not_a_number"
        var parsingError: ThaliCoreError?
        do {
            let _ = try Peer(stringValue: string)

        }
    }

    func testInitWithStringHasTwoSeparatorsCausesError() {
        let string = String.random(length: 4) + ":" +
                     String.random(length: 4) + ":" +
                     String.random(length: 4)
        var parsingError: ThaliCoreError?
        do {
            let _ = try Peer(stringValue: string)
