prevent the global DB variable from being shadowed by a local instance
Merge pull request #1 from tangerilli/fixtests

prevent the global DB variable from being shadowed by a local instance