Fix test string.
Fix deprecation warning.