testing user functions of the API