Tests for CORS support

Some tests for issue #10