fix avatar test