Added test for generation of record nesting to validate that recursive cloning works