Refactored the JUnitStepPrinter