Added unit testing for command line parameters.