Making session controller tests pass