Register SingleThreadUseGuard as the ISingleContextUseGuard when creating wiring for tests.