Fix: Test case output when running through cmd.