Accept optional command line arg to replace `npm test`

Also adds `minimist` to help parse command line arguments.
Only to pass into here, right?