working on tests for session controller