move nn_driver_->clear() to TearDown()