Added test for sessions controller