Testing xml validation