Fixing unit test for get-console-output.