Fix testCrossDomainPost test

The http://example.com/test endpoint frequently times out if you
try to POST to it. Rather than finding a real endpoint that doesn't
do this, change the endpoint to one that will always time out and
simulate the 'load' event ourselves.