Added SessionHandler tests