Derive from BaseConnectionlessQueryTest and use getUrl() if you need to get the connection url. This base class is for cases where we want to test client-side stuff, but not actually connect to an hbase cluster. Note that the DriverManager.deregisterDriver needs to use the singleton instance that was registered. You can get this through the static protected driver member variable. Why do you need to do this, though?