This is **not** deprecated. The test is covering the method of DocumentElement (try removing all these tests and you will revert the increase of the code coverage I did previously, meaning DocumentElement would again be tested only through the driver testsuites). The test must be refactored to mock the right collaborator, but it must not be removed