refactor(test): replace SimpleNamespace with typed mocks in schedule service tests (#38393)