Create test case for cors requests