test(unit/session.js): ensure a network connection is not needed to run unit tests