Fix Chebyshev distance test