Removed an old test that checked the ws api works (which is now removed) and fixed a global leak in JSONP tests