I have raised a StackOverflow question on this: https://stackoverflow.com/questions/66909958/when-testing-a-static-method-the-preloadweek-method-is-undefined