update test_kernel_functions.py