Test for dimension checks