Refactor `Singleton::instance_mock()` to `::instance_stub()` for tests