test delayed rendering of template