fix cmd test