partially added test for user avatar