ENH: Allow for optional executable components.
ENH: Print 'execute' result SPEC to stdout if no filename is given
BF: Fix return value checking and add test for optional executables

Not a test only passes, if the exitcode is 0 AND all expected output is
present.