Failing test for nested-id (issue #518)