The repeated tests were not careful enough to produce the correct reference image to match what the repeat node does. With these changes, all cairo tests pass.