add session dictionary
update test case