Added test to ensure that getStraightBitmap dimensions are correctly calculated