updated todos storage and added test