Optimized html 'serialization' by using StringBuilder. Test strings can be specified with multine strings. Included all of the original tests.