test: add a test for PARENT_SCOPE with multiple scopes

See the comment in the test for what is being tested here.
3 files changed