Reorganize the test suite and improve its output.
Reorganize the test suite and improve its output.

* check.sh
  (THIS_TEST): New global variable.
  (PASSED): Promote to global variable.
  (start_new_test, check_result): New helper functions.
  (everywhere): Use the above.

kfogel/OneTime,kfogel/OneTime