Added HashDB JNI unit / regression test.