added test for sessions_controller