new test: ensure the correct excerpt is exposed to liquid

Also shorten test code a little bit.