3321: Add test for rendering unusual pipeline templates.

I wrote this along with the rest of the code for refs #3321, but
failed to commit it.