[composer] Make html tests text-free

Minimises cross platform rendering differences. Temporary pull request to test Travis build.