Fix avatar testing