Add failing test for Struct references

The tests fails with

    Psych::BadAlias: Unknown alias: 1