Fix test in order to succeed on Windows and Linux.