APIUserTest improvement

APIUserTest improvement