modifying test_kernel2.py