fix variable name in user api test