Add an integration test for the rest of the API.