Minimal test to expose scoping bug.

This test fails in older version in which the call to horizRule
was incorrectly scoped.