Added tests

Added tests for replacing a - with a _ in positional arguments and flags.
Fixed issue in one of the new tests.
Updated argument parsing.

Updated argument parsing so - characters in the argument name are
translated to _ charaters.