API Fixes: Setup test infrastructure

Add a basic framework for writing API tests, not only increasing overall
coverage, but also helping verify that client libraries for other platforms are
in sync with the latest API changes