add test for AvatarUploader