-- added code for the kernel loading plugins
-- fixing some kernel tests