fix 'writeline' typos

Otherwise passing verbose=2 to the ctor of TestRunner leads to an exception.