fix failures for tests requiring external programs

Tests requiring external programs should now report that they are
pending rather than failing, if the programs are not installed.