Adapts test suite for cors and jsonp

- Adds json support to test server
- Adds plan, tax, and token tests