update for test_kernel_functions.py