fix tests script