add test of sessions_controller