Fix test script in linux