Fixed the import problem when running the tests