Add support for the --test=X option to allow more focused running of tests.