fixed SerializationTest.testReferenceTest - finally, almost. Phew! This
was real good hard-core hacking fun.. It's "almost", because I cheated
on ordering in ReferenceTest.efactory.. need to look into that again,
with a clear head, another day.