added test resource for nested objects

This is for a new test in the hal-builder-json library.