Fixes test_corrupt_xml and updated broken test_revision_non_integer