Fix unicode test error [closes #1951]