Break out the tests into a file per command and clean up some long lines

Approved by:	will


git-svn-id: svn+ssh://svn.freebsd.org/base/head@275656 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f