bug-fix: call on undefined object

db_test was never defined, so call for test's
dictionary generated error