 
     assert {:ok, %{created: created, updated: updated}} = transaction(c, operations)
 
-    assert [{%RID{cluster_id: ^cluster_id}, _}, {%RID{cluster_id: ^cluster_id}, _}]
-           = created
-    assert [{%RID{cluster_id: ^cluster_id}, _}] = updated
+    assert [{%RID{}, _}, {%RID{}, _}] = created
+    assert [{%RID{}, _}] = updated
 
     # Let's check the created records have actually been created.
     assert {:ok, %{response: [_, _]}}

  end

  test "transactions", %{conn: c} do
    {:ok, %{response: cluster_id}} =
      command(c, "CREATE CLASS TransactionsTest")
    {:ok, %{response: [_doc1, doc2, doc3]}} =
      command(c, "INSERT INTO TransactionsTest(f) VALUES (1), (2), (3)")

  end

  test "unknown property ids are handled automatically with load_record/3", %{conn: c} do
    # TODO: affected by the cluster_id changes in 2.2.0-beta.

    {:ok, %{response: _cluster_id}} =
      command(c, "CREATE CLASS UnknownPropertyIdRecordLoad")
    {:ok, _} =
      command(c, "CREATE PROPERTY UnknownPropertyIdRecordLoad.i SHORT")

    {:ok, %{response: %Document{rid: rid}}} =
      command(c, "INSERT INTO UnknownPropertyIdRecordLoad(i) VALUES (1)")

    assert {:ok, {loaded_doc, _}} = load_record(c, rid)
    assert loaded_doc.class == "UnknownPropertyIdRecordLoad"
