simplify the dependency management in test