Make yaml optional. Eliminate need for cmdline module from runtests.