Added storage-write tests