Fixed the --tests command line option to not require a module to be specified.