unit test: session.js coverage boost (70% now)