better test message formatting