[misc] unit tests: add missing module stubs for (transient) db imports GitOrigin-RevId: 9a16f1ab9b42608d839922fb339189697bc9ed22