Minor cleanup

Cleanup generated test files. Fix help file. Convert shell commands to
Stata commands (so that eventually can use Makefile in Windows).