Added mocha test for session count