CKernel: Fixed uninitialized "lhs_equals_rhs", fixed memory leak in CustomKernel test.