Add tests for LinearLayout, fix measurement in UIImageView