replaceObjectsInRange tests