This tests that when a selection that ends at [replaced element, 0] is painted, the replaced element doesn't appear selected. This test uses a select box for the replaced element.