Use KernelTestBase instead of deprecated UnitTestBase.