Enhance API tests.