Enhance cors example.

tests in feathers are also updated.