testing the cmd interface