Fix analyses API tests.