moved tests to unit tests dir; added flash and eeprom model