This test is a regression check for a ClassCastException which occured because white-space before and after a block in a marker wasn't removed when it's copied into a static-contant element through retrieve-marker. The element list returned contained InlineKnuthSequences which cause the ClassCastException in wrapPositionElements().