Unit testing for Util/SessionHandler