complete code coverage testing for Session