remove debuging code...
add some tests for createSession