test command parse method