Test using pre-commit's cmd_output()