Refactor some of test/run.js.

test/run.js
  -Rewrite some of the test-executing structure.
  -Prepend test messages with the name of their parent module.