def METHOD_NAME(self):
    self.test_synchronize_add()
    # add a dataset with a non-existing location and assert that it is
    # removed
    dataset = models.RectifiedDataset(
        identifier="rectified-1",
        footprint=GEOSGeometry("MULTIPOLYGON (((-111.6210939999999994 26.8588260000000005, -113.0273439999999994 -4.0786740000000004, -80.6835939999999994 -9.7036739999999995, -68.0273439999999994 15.6088260000000005, -111.6210939999999994 26.8588260000000005)))"),
        begin_time=parse_datetime("2013-06-11T14:55:23Z"),
        end_time=parse_datetime("2013-06-11T14:55:23Z"),
        min_x=10, min_y=10, max_x=20, max_y=20, srid=4326,
        size_x=100, size_y=100,
        range_type=models.RangeType.objects.get(name="RGB")
    )
    dataset.full_clean()
    dataset.save()
    backends.DataItem.objects.create(
        dataset=dataset, semantic="bands", location="doesnotexist.tif"
    )
    backends.DataItem.objects.create(
        dataset=dataset, semantic="metadata", location="doesnotexist.xml"
    )
    self.collection.insert(dataset)
    synchronize(self.collection)
    with self.assertRaises(models.Coverage.DoesNotExist):
        models.Coverage.objects.get(
            identifier="rectified-1"
        )