api user tests