The way to do it would be to use a fixed clock and somehow make this clock also the system default for the length of the test. Similar to how we set the default local to English for testing to avoid problems when people are building with different Locales. Not sure whether this can be done so.