Simplified EEPROM Emulation + test cases

Add CUnit as test framework. Basic tests for the EEPROM emumlation added.