add test cases for session service

Change-Id: Ib14a20237d6d3ee320b6c71b2b15c5fbbdc1f306