Add spec for avatar uploader