Fixing issue #1104 and updating tests.

In general it's better not to modify existing tests. But add your own test i.e. `testParseZeroArgument()`.