Proofreading, updated kernel test code