test with flipped grid
matchGrid