added API test demo