Issue #2266547 by alexpott, sun: TestKernel is not adding its service provider correctly.