Test cli argument parsing.