adding test for requestAvatar