Revert "Implement DBQueryTest"

This reverts commit 135a7eced71f1eb0be986b88e3893c9a88316224.