Fixed tests for xml download