Add failing test for Struct references

The tests fails with

    Psych::BadAlias: Unknown alias: 1
Fix references for anonymous structs
Merge pull request #172 from splattael/struct-ref

Referencing anonymous structs fails with Psych::BadAlias Unknown alias