fixed an error in DBConnectionTest