Fix clipping tests