Ensured the test output is displayed properly