tests for chapter '8.1 Extensions to Document Interface'

tests for chapter '8.1 Extensions to Document Interface'