lib: added xml.nit

Signed-off-by: Clément GARNIER <mail@garnierc.fr>
tests: added tests file for XML lib

Signed-off-by: Clément GARNIER <mail@garnierc.fr>