Fix imports in test.py