[composer] Make html tests text-free

Minimises cross platform rendering differences