Add API test sample.

The intent of this is to act as a reference for adding API tests across different projects.