added tests for session manager
i Please enter the commit message for your changes. Lines starting