Test for a diagonal DTW path.