fix for adding avatar test case