Added a createKernel() robustness test