Moar removing HTML code from tests
Yuck.

TODO: Use an HTML parsing library instead.