test: add Command tests