Add kernel ancestor test