Fix a bug in XSpec

Compilation of tests using a combination of x:call[@template] and
x:context failed.

TODO: commit upsteam
bugfix in format-xspec-summary.xsl

Pending tests weren't included on the summary page.