Fix test on linux