test adduser with the API