dockertest.output_unittests: Add unittests for output module

Next set of unittests for output complemented by pep8/pylint fixes.