Make nopt an optional dependency in the test runner.