[PATCH 3/4] unit: Add missing newlines and spaces in text output