Simplify test by reusing common styles.
Fix position of frames in text document.
Regression was introduced by rebasing.