Update DBTest.java

Fix build failed for jdk 1.6
Merge pull request #53 from dawnbreaks/patch-1

Update DBTest.java