test image upload
avatars in medias
write data into test.db