test if avatar url is valid