Allowing response.xml to be optional in tests.