Functional with test data, XML not parsing correctly