resolve module dependency in test case