Fixed tests covering themselves

* Typos in @covers.
* Removed strval(). It really does nothing, htmlspecialchars() does
  that anyway.
* Broke most long lines.
* MediaWiki usually doesn't use title case.

Change-Id: Ib8f78d23c09c896e09169088be2b06e89fc76768