Reused scikit kernels and added test cases