modify test fetch data module: save data with str type