testGetDBConnection