Add documentation for promise_test() and worker tests.