Kerneltest message handler and tests.