Added new unit tests for cmdline intopt and stropt.