fix an issue about mvn test
fix issues when send TradeCommandMessages