Fix command line parser tests.

Some of these tests succeeded for the wrong reason.

Change-Id: I3b7cffb871b512aed1c41d217f58a0d1e0599ad6
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>