test sessions controller