Revert "Fix cli tests to avoid unix warnings"

Reverting in favor of the warning being fixed locally.

This reverts commit 0ddcba788dd4c89a7deb5b157cb3c0df1a4d3a52.