Test parsing commands and arguments