roundtrip tests for DBRefs