wrote tests for a number of ek kernel functions