added test api test scripts