Hugh McMaster : reg/tests: Add tests for duplicate command-line switches.