Fix CORS tests.