Fix indenting #51
Add another test for messing up with child refs #51