SPLEVO-385 Consolidation Wizard: Unit tests: rewritten code to be more
compact.