add test scripts to mainpage
add and modify test examples
update documentation of some xml functions