Dup template when presenter builds

Without this the original template doc is screwed up.
Ensure views are properly reset even if tests fail