Test 2d to 1d.