RF: allow command runner to also set path and test

The command runner did not take into account that we'd have some scritps
to test.  Add ability to add script directory to path, and make some
tests.