Improve message formatting in test index page.