tests for db.js
updates
updates
Merge pull request #34 from mikehoren/TESTS

Tests