Refactor the test due to the refactor of TASKS_NODE and RESOURCES_NODE
Add const qualifier to onXmlParseResult