Add tests for HTML fields

Because Bryan was trash-talkin' my unit tests

Change-Id: I5e7cb9bdecfbdeee5cefd2e7c0938f0bf277f34b