Add test for cors and sse