Improved testing of minBound and maxBound.