             XCTAssertEqual(manufacturerData.storage, newManufacturerData.storage)
             XCTAssertNotEqual(newManufacturerData.storage, dataValue.storage, "Different storage used")
             XCTAssertEqual(newManufacturerData.storage, .inline(inline))
+            
+            let encoder = GAPDataEncoder()
+            XCTAssertEqual(
+                encoder.encode(dataValue),
+                encoder.encode(beacon.manufactererData)
+            )
+            
         }
         
         // storage for small data

            XCTAssertEqual(manufacturerData, newManufacturerData)
            XCTAssertEqual(manufacturerData.hashValue, newManufacturerData.hashValue)
            XCTAssertEqual(manufacturerData.storage, newManufacturerData.storage)
            newManufacturerData.companyIdentifier = .apple
        }
    }
    

    
    func testManufacturerSpecificData() {
        
        XCTAssertNil(GAPManufacturerSpecificData(data: Data()))
        XCTAssertNil(GAPManufacturerSpecificData(data: Data([0x4f])))
        
        do {
