Update DBTest.java

Fix build failed for jdk 1.6