Markup adjustments

Some test cases have markup that's not valid HTML5. The changesets in this PR adjust them so they're valid.