complete rework of format.version and updated unittests