test argument parsing