Test the dependency of modules.