Naive test to see if proper template is being used. Will need to update.
Test now applies to complete rendering of template. Still sort of leaves question of what happens with more complicated functions, though...