adding basic test for stateful session