[CLC-1641] QA: Small typo leading to scope leakage through cache. Adding a test to guard against it