Modify test to expose issue #6492.
Fix opts_str.

opt_val doesn't not fail! for missing options.

Closes #6492
Fix comment.