test for dims