testing sd write