Testing the cmd