Add cmd validation test cases