tests: Make TestRevisionCooker more modular
So its 'load' and 'check' parts can be reused for testing snapshots