Previewing and testing your template