Fix submodule imports before running tests.