refactore response tests to create response xml files if