src/server/test/lib.js - added stub_then_done mock promise generator
src/server/test/lib.js - added stub_then_done mock promise generator

cfogelberg/postgres-fiddle,cfogelberg/postgres-fiddle,cfogelberg/postgres-fiddle