added test for dynamic document

Testing dynamic documents