 
     func testBookmarks() {
         let validBookmark = JSON([
+            "id": "abcabcabcabc",
             "type": "bookmark",
             "parentid": "menu",
             "parentName": "Bookmarks Menu",


        // Only payloads that parse as JSON are valid.
        XCTAssertNil(Record<CleartextPayloadJSON>.fromEnvelope(EnvelopeJSON(invalidPayload), payloadFactory: clearFactory))
        XCTAssertNotNil(Record<CleartextPayloadJSON>.fromEnvelope(EnvelopeJSON(emptyPayload), payloadFactory: clearFactory))

        // Only valid ClientPayloads are valid.
        XCTAssertNil(Record<ClientPayload>.fromEnvelope(EnvelopeJSON(invalidPayload), payloadFactory: cleartextClientsFactory))

        XCTAssertNil(BookmarkType.payloadFromJSON(invalidSeparator))

        // This one's right.
        let validSeparator = JSON(["id": "abcabcabcabc", "type": "separator", "parentid": "toolbar", "parentName": "Bookmarks Toolbar", "pos": 3])
        let separator = BookmarkType.payloadFromJSON(validSeparator)!
        XCTAssertTrue(separator is SeparatorPayload)
        XCTAssertTrue(separator.isValid())
