Added functional test that renders the popup template.

This way I can test whether the mark_safe() machinery works.