add put test
and put test with existing session