     }
 
     override func tearDown() {
+        randomlyGeneratedServiceType = nil
+        randomMessage = nil
         advertiserManager.stopAdvertising()
         advertiserManager = nil
+        super.tearDown()
     }
 
     // MARK: - Tests


    // MARK: - State
    var advertiserManager: AdvertiserManager!

    var randomlyGeneratedServiceType: String!
    var randomMessage: String!
    var anyAvailablePort: UInt16 = 0

    let browserFindPeerTimeout: NSTimeInterval = 5.0

    let disposeTimeout: NSTimeInterval = 30.0
    let receiveMessageTimeout: NSTimeInterval = 10.0

    // MARK: - Setup & Teardown
    override func setUp() {
        super.setUp()
        randomlyGeneratedServiceType = String.randomValidServiceType(length: 7)

        let crlf = "\r\n"
