See help test_run for a description on how to write unit_tests and nonreg_tests.

