tests: added tests file for XML lib