Markup adjustments

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