created a kernel_running method
add test for shutdown notebook