[JAVA-1331] Suppressed deprecation warnings for getDB on tests and classes that are part of this old API; Removed unused tests and methods in DBGeneralOldTests that were found during the course of this work.