savegame: refactoring tests