API Fixes: Setup test infrastructure

Add a framework for writing API tests, which not only increases overall
coverage, but also help verify official clients for other platforms are in sync
with the latest API changes