Failing test for nested loops maintaining state
Convert current/previousInstance to a stack
Merge pull request #3 from endash/nesting

Failing test for nested loops maintaining state