Adds calculating file stamps at runtime in tests.