update dom4 library
added tests for dom4 lib