Add documentation for promise_test() and worker tests.

Follow up to the change to add support for testing in workers.