add example code to test from pango reference