<commit_before>var assert = require('assert');
var session = require('express-session');
var AerospikeStore = require('../')(session);


store = new AerospikeStore();
store.set('abc',{cookie:{maxAge:2000},name:'y.p'},function(err,ok){
  assert.ok(err.code===0,'set error!!!!');
  assert.ok(ok.ns==='session','options namespace error!!!!');
  assert.ok(ok.set ==='store','options session error!!!!');
  store.get('abc',function(err,ok){
    console.dir(ok);
    assert.ok(err.code===0,'get error!!!!');
    assert.ok(ok.cookie.maxAge===2000,'get maxAge error!!!!');
    assert.ok(ok.name ==='y.p','get name error!!!!');
  });
});<commit_msg>Fix test<commit_after>var assert = require('assert');
var session = require('express-session');
var AerospikeStore = require('../')(session);

store = new AerospikeStore();
store.set('abc',{cookie:{maxAge:2000},name:'y.p'},function(err,ok){
  assert.ok(err===null,'set error!!!!');
  assert.ok(ok.ns==='session','options namespace error!!!!');
  assert.ok(ok.set ==='store','options session error!!!!');
  store.get('abc',function(err,ok){
    console.dir(ok);
    assert.ok(err===null,'set error!!!!');
    assert.ok(ok.cookie.maxAge===2000,'get maxAge error!!!!');
    assert.ok(ok.name ==='y.p','get name error!!!!');
  });
});
{'fraction_non_alphanumeric': 0.26456692913385826, 'fraction_numerical': 0.014173228346456693, 'mean_word_length': 6.2628571428571425, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6045305', 'n_tokens_mistral': 445, 'n_tokens_neox': 421, 'n_words': 67}