tests for chapter 'Extensions to Document Interface'

tests for chapter 'Extensions to Document Interface'