Update tests.py [ci skip]