added test for eeprom read/write