session test modified