[#58] Add spec for session module.