pandoc was checked directly with a `os.system` call, and the output with version
and copyright of pandoc was displayed when running tests.
- replace the pandoc check with the `skipIfNoExecutable` function.
- in `skipIfNoExecutable`, the `valid_exit_code` is not needed, the executable
is not found if an `OSError` exception is catched.