Added tests for TaskFromXMLBuilder