 
 class PeerTests: XCTestCase {
 
-    func testGenetationByNextGenerationCallShouldHaveSameUUIDPart() {
+    // MARK: - Tests
+    func testPeerByNextGenerationCallShouldHaveSameUUIDPart() {
         let peer = Peer()
         let nextGenPeer = peer.nextGenerationPeer()
         XCTAssertEqual(peer.uuid, nextGenPeer.uuid)

        }
    }

    func testInitWithStringHasNotEBNFormError() {
        let string = "eqwer:asdf:aasdf"
        var parsingError: ThaliCoreError?
        do {
            let _ = try Peer(stringValue: string)

        XCTAssertEqual(parsingError, .IllegalPeerID)
    }

    func testInitWithStringHasNoSeparatorCausesError() {
        let string = String.random(length: 4)
        var parsingError: ThaliCoreError?
        do {
            let _ = try Peer(stringValue: string)
        } catch let peerErr as ThaliCoreError {
            parsingError = peerErr
        } catch _ {
        }
        XCTAssertEqual(parsingError, .IllegalPeerID)
    }

    func testInitWithStringHasInvalidUUIDPartCausesError() {
        let string = "---" + ":" + "0"
        var parsingError: ThaliCoreError?
        do {
            let _ = try Peer(stringValue: string)
        } catch let peerErr as ThaliCoreError {
            parsingError = peerErr
        } catch _ {
        }
        XCTAssertEqual(parsingError, .IllegalPeerID)
    }

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