Add debug method in TestMapKernel