update xml test code
Merge branch 'master' of https://github.com/Negaihoshi/CSViewer
add some test function