Fix #284

negotiated_resource was referencing page.content instead of
page.padded_content.  Fixing that exposed that most of our
tests were incorrectly not pre-padding templates, so they've
been fixed as well.