Added testcases for some issues
Removed xerces as dependency

Fixed issue #133