session manager tests