Add API test sample.

The intent of this is to act as a reference for adding API tests across different projects.
This is to run the generic API tests - nothing here should be poppy specific.