Get API tests working.