Added test for non-empty PDF strings