Made some tweaks to the core tests so that they'll run better under XHTML.