Simplify legend marker test