class ActionController::TestSession

def initialize(session = {}, id = Rack::Session::SessionId.new(SecureRandom.hex(16)))

def initialize(session = {}, id = Rack::Session::SessionId.new(SecureRandom.hex(16)))
  super(nil, nil)
  @id = id
  @data = stringify_keys(session)
  @loaded = true
  @initially_empty = @data.empty?
end