@BeforeClass
    public static void setUp() throws Exception {
        connection = DriverManager.getConnection(conectionURI);
        Statement statement = connection.createStatement();
        try {
            statement.execute("DROP TABLE students");
            statement.execute("DROP TABLE teachers");
            statement.execute("DROP TABLE students");
        } catch (SQLException e) {
            statement.close();
        }

        if (!statement.isClosed()) {
            statement.close();
        }

        statement = connection.createStatement();

        try {
            statement.execute("CREATE TABLE students (id INT PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY, " +
                    "name VARCHAR(255) NOT NULL, " +
                    "second_name VARCHAR(255) NOT NULL, " +
                    "level INT )");
            statement.execute("CREATE TABLE teachers (id INT PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY, " +
                    "name VARCHAR(255) NOT NULL, " +
                    "second_name VARCHAR(255) NOT NULL, " +
                    "level INT )");
            statement.execute("CREATE TABLE workers (id INT PRIMARY KEY NOT NULL GENERATED ALWAYS AS IDENTITY, " +
                    "name VARCHAR(255) NOT NULL, " +
                    "second_name VARCHAR(255) NOT NULL, " +
                    "level INT )");
        } catch (SQLException e) {
            statement.close();
        }

        if (!statement.isClosed())
            statement.close();
    }