avatar tests fixed