Added API test scripts