Test cleanup

* use HTML5 doctype everywhere
* use `meta charset` everywhere, as first tag in `head`
* strip unnecessary `type` attributes
* fix page titles