Test the index action of the sessions controller