Use a more granular lock in runTestCase.
Keys should always exist.