Tests for PDF bookmark positions and levels

Required pdftk. Fixes issue #32.