Session tests

Change-Id: If305e9e7caeead022188ae74d8a3011d98bebcd2