Prepare submodules before test.