Testing that template contexts are set.