add a test for deep nesting #1