add test/cmd to check the param in CLI