noticed a failing test when slow db connection

for some reason, this test will fail when there is a slow db
connection (like working over my cellphone data link) and I run mocha on
all the tests.  But it passes fine when run by itself.  Probably too
many connections by mocha to the DB?

modified:   test/test_reduce_codes.js