added first test on document level