Add support for simple workers tests.
Rewrite the test using more expressive testharness.js APIs.