[fr] fix tests.py