test: add test for ValidateCommand