public void TestNullDeserialization()
{
string raw = "nick:,embedded:(nick:,joe:),joe:";
ORecord record = new ORecord(ORecordType.Document, 0, UTF8Encoding.UTF8.GetBytes(raw));
Assert.IsTrue(record.Fields["nick"] == null);
Dictionary<string, object> embedded = (Dictionary<string, object>)record.Fields["embedded"];
Assert.IsTrue(embedded["nick"] == null);
Assert.IsTrue(embedded["joe"] == null);
Assert.IsTrue(record.Fields["joe"] == null);
}