It would be nice if this HTML (here and L118 and L41) could be pulled out into a variable somehow (maybe a global one). That makes fixing tests much easier if this code/html ever changes.