Use argument lists for command help tests

Closes #4629.