@Test //(timeout = 500)
public void testBounds() throws Exception {

    assumeTrue(!GraphicsEnvironment.isHeadless());
    // Create H2 DataSource
    org.h2.Driver driver = org.h2.Driver.load();
    OsgiDataSourceFactory dataSourceFactory = new OsgiDataSourceFactory(driver);
    Properties properties = new Properties();
    properties.setProperty(OsgiDataSourceFactory.JDBC_URL, DATABASE_PATH);
    // Create document
    RSyntaxDocument document = new RSyntaxDocument("sql");
    RSyntaxTextArea rSyntaxTextArea = new RSyntaxTextArea(document);
    rSyntaxTextArea.setText("alter");
    RSyntaxSQLParser parser = new RSyntaxSQLParser(dataSourceFactory.createDataSource(properties));
    ParseResult res = parser.parse((RSyntaxDocument)rSyntaxTextArea.getDocument(), "");
    List noticeList = res.getNotices();
    assertEquals(1, noticeList.size());
    ParserNotice notice = (ParserNotice) noticeList.get(0);
    assertEquals(0, notice.getLine());
    assertEquals(0, notice.getOffset());
    assertEquals(5, notice.getLength());
}