D'oh!
That's what happens when you copy code from the web, sorry :-(

So just a follow up to my other question: how do I add my child resources?
Does my TestRealm need to extend Resource? Is that the recommended approach?

Thank you