Optimize test structure

Extracted from #414
I would keep that static, otherwise the factory will pretend to generate the current format although it most likely does not after a version update. That might cause immediate test failures but could also go unnoticed and cause subtle, hard to debug problems when writing new tests.

By keeping it static you force the developer that updates the version to also look at the factory and make sure that everything's fine.