Testcase for triggered action scoping problem.