Added API call test