Removed an old test that checked the ws api works (which is now removed) and fixed a global leak in JSONP tests
Merge pull request #246 from rase-/fix/jsonp-tests

Fix tests