Another WIP dump of $ref testing.