Improve display string testing.