(DNN-4704) Add more APIs to TestableGlobals