Add test for cyclic structures

This adds a test for simple cyclic structures, but lacks an implementation of eql() which actually checks. See #50.