test of output (cmd 3)