DEV: Fix a flaky test (PR #13580)

Updated the context name, and fixed a typo that was the source of flakiness.

GitHub