If the size of bootconf.txt is reduced then set the unused data to all ones instead of leaving garbage at the end. The EEPROM header contains the actual file but this makes it easier to verify the image and makes overreads more obvious.
Add a basic unit test to verify that rpi-eeprom-config updates the EEPROM image as expected (only the config + header updated).