@Test
public void connectAndCreateDatabaseWithoutIssue() throws SQLException {

    HiveClient hiveClient = new HiveClient(driverName, "jdbc:hive2://localhost:" + port, database,
        hdfsTemp + "/garmadon_database");
    hiveClient.execute("DESCRIBE DATABASE " + database);
    try {
        hiveClient.execute("DESCRIBE DATABASE not_created_database");
    } catch (SQLException e) {
        assertTrue(e.getMessage().contains("Database does not exist: not_created_database"));
    }
}