test for basis.layout.getViewportRect added