This test passes if it has the same output as the reference. You see the word "before", a small space, and then the word "after".

before
legend
after