Improving the API tests on the example app.