test for aspect ratio