added test coverage for command line parameters