Added API test