implemented StorageUnit and tests