More injectJs tests, for timeouts and cancellations