message: Adding the new test that checks changes that are made to an existing metadata
diff: @@ -32,6 +32,39 @@ describe("[RDBC-213] Metadata is not saved", function () {
  assert.equal(expiresAt.toISOString(), loaded["@metadata"]["@expires"]);
  });
  + it.skip("session.store() saves metadata using entity '@metadata' field when updating existing document", async () => {
  + // Create document with metadata
  + const session1 = store.openSession();
  + const expiresAt = new Date(2019, 11, 12);
  + const expiringDocument = {
  + "name": "test",
  + "@metadata": {
  + "@expires": expiresAt.toISOString()
  + }
  + };
  + await session1.store(expiringDocument);
  + await session1.saveChanges();
  +
  + // Load document and make changes to the metadata
  + const session2 = store.openSession();
  + let loadedDocument = await session2.load(expiringDocument["id"]);
  + var metadata = session2.advanced.getMetadataFor(loadedDocument);
  +
  + const expiresAtNewTime = new Date(2020, 11, 12).toISOString();
  + metadata["@expires"] = expiresAtNewTime;
  + const customDataValue = "customDataValue";
  + metadata["customData"] = customDataValue;
  +
  + await session2.saveChanges();
  +
  + // Verify
  + const session3 = store.openSession();
  + const updatedDocument = await session3.load(loadedDocument["id"]);
  +
  + assert.equal(updatedDocument["@metadata"]["@expires"], expiresAtNewTime);
  + assert.equal(updatedDocument["@metadata"]["customData"], customDataValue);
  + });
  +
  it("metadata is stored using session.advanced.getMetadataFor() and session.saveChanges()", async function () {
  const session = store.openSession();
  const expiresAt = new Date(2019, 11, 12);
  