Fix tests. The mock JsonP callback was dead when the request came back. Also made it possible for abort() to be called several times.
fix tests in PhantomJS
fix #410