CKernel: Fixed uninitialized "lhs_equals_rhs"
CCustomKernel: Fixed memory leak in unit test.
Merge pull request #1161 from tklein23/develop

CKernel: Fixed uninitialized "lhs_equals_rhs", fixed memory leak in CustomKernel test.
addded unit-tests for serialization