added cmd test
Merge pull request #23 from jaytaph/ut6

added cmd test