Bug fix in nesting test.