Add unit testing function to html_output module.