Fix imports in tests