[BACKLOG-197] -- added unit tests for SessionResource.