sessions controler tests