Add simple round-trip test suite for the API

Add a test suite which performs simple round-trip tests against the server.