Extended testing timeout and removed setTimeout

Extended testing timeout and removed setTimeout.
I think setTimeout seems to fail when run from a XHR2 event.