Another thing you can do is download a kernel you know works (like the stock kernel) as a flashable zip. If you flash it and things go awry, you can just reboot into recovery, reflash the kernel, and you're back in business. That's my method when I'm trying out new kernels.