Removed deprecated tests. Added tests for sessions.

Change-Id: I9a448daf438a48d5e469abbad1d70b5576c6efdc