Add some test cases for /command api