Make the test more resilient with a wider band.

Rather than +/- 1 on the offset, use 40%-60% of the height.