Fix warning on test base class.