Make sure min <= max in test_clip

Depending on the random values, it would sometimes fail in DebugMode.