Consolidate API tests.