test takes params from cmd line