reverted tests.py