Fix test broken by a modified string