Tests for render_with decorator. Closes #6.