Fix rspec tests for sessions