Command line params and tests