Update session tests
Add some more kernel tests
Handle query string in Kernel.start
More informative error messages