Test case created for inContainerViewport method.