Fix imports in tests.