Tests for the sessions controller