Fixed unreliable string tests