Finish testing the template sequence and context.