added command line parameters to test