Added some unit tests to improve test coverage in cmdlineparser