testcase for issue #54

Add testcase for issue #54, which appears to have been fixed by commit
2fa779e.
Merge pull request #91 from nixon/nested_curly-54

testcase for issue #54