Add failing test for Struct references

The tests fails with

    Psych::BadAlias: Unknown alias: 1
Fix references for anonymous structs
fix typo

s/preceeded/preceded/
Merge pull request #173 from amatsuda/preceeded

fix typo in the code
Merge pull request #172 from splattael/struct-ref

Referencing anonymous structs fails with Psych::BadAlias Unknown alias