Added test for serializing and deserializing cyclic object graphs.