add basic test for document printing