first PROPER integration test for document