sessionTest.coffee tidy db usage