The old test was simply wrong: it computed the M-distance and compared to the grid radius, which becomes dependent on the scaling of the metric M. The corrected test in isClose() depends on the anisotropy ratio of M and the grid radius.