Update tests.py

Fix