general repair

fixed html renderer unit tests, though they could use another going over.