Write unit tests for WebGetSessions and WebPostSession APIs.