Add missing Command tests
Merge pull request #2216 from szymzet/command-better-coverage
Update history to reflect merge of #2216 [ci skip]