Adds assertions for page template variables